#ifndef RESULTMAP_H
#define RESULTMAP_H

#include "result.h"

#include <QObject>
#include <QVector>


class ResultMap : public QObject
{
    Q_OBJECT
public:
    explicit ResultMap(QObject *parent = nullptr);
    void append(const QString);
    void clear();
    int size()const;
    QString getVal(int)const;
    void insert(QString,Result);
    int currentIndex =0;
private:
    QVector<QString>*vector;
    QMap<QString,Result>*map;

};

#endif // RESULTMAP_H
